import  VueRouter from 'vue-router'
import detail from '../pages/detail.vue'
import list from '../pages/list.vue'
import Vue from 'vue'
Vue.use(VueRouter)
const routes = [
    {path:'/list',component:list},
    {path:'/detail',component:detail}
]
export default new VueRouter({
    routes
})